/* 字体图标声明，注意这里的路径 */

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?tomleg');
    src: url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?tomleg') format('truetype'), url('../fonts/icomoon.woff?tomleg') format('woff'), url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}


/* 版心 */

.w {
    width: 1200px;
    margin: 0 auto;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.style_red {
    color: #c81623;
}


/* 快捷导航模块 */

.shortcut {
    height: 31px;
    line-height: 31px;
    background-color: #f1f1f1;
}

.shortcut ul li {
    float: left;
}

.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    background-color: #666;
    margin: 9px 14px 0;
}

.arrow_icon::after {
    content: '\e91e';
    font-family: 'icomoon';
    margin-left: 8px;
}


/* header 模块 */

.header {
    position: relative;
    height: 105px;
}

.header .logo {
    position: absolute;
    top: 25px;
    width: 171px;
    height: 61px;
    /* 淘宝做法隐藏溢出的SEO优化文字 */
    /* overflow: hidden; */
}

.logo a {
    display: block;
    width: 171px;
    height: 61px;
    /* 装图片的盒子要和图片的宽高一样，图片不会自己撑开盒子，并且这里的a还是行内元素，要设置宽高需先转换为块级元素 */
    background: url(../images/logo.png) no-repeat;
    /* 京东做法 个人认为更简单 让字号为0，基本不存在了，一定看不见*/
    font-size: 0;
    /* 淘宝做法 text-indent 为文本缩进*/
    /* text-indent: -9999px; */
}

.search {
    position: absolute;
    top: 25px;
    left: 348px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}

.search input {
    /* input 和 button 是行内块元素，它们默认有外边距，所以加浮动清除外边距 */
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px;
}

.search button {
    float: left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
}

.hotwords {
    position: absolute;
    top: 68px;
    left: 348px;
}

.hotwords a {
    margin: 0 10px;
}

.shopcar {
    position: absolute;
    right: 63px;
    top: 25px;
    width: 140px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
}

.shopcar::before {
    content: '\e93a';
    font-family: 'icomoon';
    margin-right: 5px;
    color: #b1191a;
}

.shopcar::after {
    content: '\e920';
    font-family: 'icomoon';
    margin-left: 10px;
}

.shopcar .count {
    position: absolute;
    left: 105px;
    top: -5px;
    height: 14px;
    /* 不设置行高，就会继承父盒子的行高 */
    line-height: 14px;
    padding: 0 5px;
    color: #fff;
    background-color: #b1191a;
    /* 左下角直角 */
    border-radius: 7px 7px 7px 0;
    /* 左上角，右上角，右下角，左下角 */
    /* 京东，圆做法 */
    /* border-radius: 7px; */
}


/* 导航模块 */

.nav {
    height: 47px;
    border-bottom: 2px solid #b1191a;
}

.nav .dropdown {
    float: left;
    height: 45px;
    width: 210px;
    background-color: #b1191a;
}

.nav .navitems {
    float: left;
}

.dropdown .dt {
    width: 100%;
    height: 100%;
    font-size: 16px;
    text-align: center;
    line-height: 45px;
    color: #fff;
}

.dropdown .dd {
    /* display: none; */
    width: 210px;
    height: 465px;
    background-color: #c81623;
    margin-top: 2px;
}

.dropdown .dd ul li {
    position: relative;
    height: 33px;
    line-height: 33px;
    margin-left: 2px;
    padding-left: 10px;
}

.dropdown .dd ul li:hover {
    background-color: #fff;
}

.dropdown .dd ul li::after {
    position: absolute;
    top: 1px;
    right: 10px;
    content: '\e920';
    font-family: 'icomoon';
    font-size: 14px;
    color: #fff;
}

.dropdown .dd ul li:hover:after {
    color: #c81623;
}

.dropdown .dd ul li a {
    font-size: 14px;
    margin-left: 2px;
    color: #fff;
}

.dropdown .dd ul li:hover a {
    color: #c81623;
}

.navitems ul li {
    float: left;
    height: 45px;
    line-height: 45px;
}

.navitems ul li a {
    font-size: 16px;
    color: #333333;
    padding: 0 25px;
}

.navitems ul li:hover a {
    color: #c81623;
}


/* footer 模块制作 */

.footer {
    height: 415px;
    background-color: #f5f5f5;
    padding-top: 30px;
}

.mod_service {
    height: 80px;
    border-bottom: 1px solid #cccccc;
}

.mod_service ul li {
    float: left;
    width: 300px;
    height: 50px;
    padding-left: 35px;
}

.mod_service ul li h5 {
    float: left;
    width: 50px;
    height: 50px;
    background: url(../images/icons.png) no-repeat -253px -2px;
    margin-right: 8px;
}

.service_txt h4 {
    font-size: 14px;
    color: #333333;
}

.service_txt p {
    font-size: 12px;
    color: #666666;
}

.mod_help {
    height: 185px;
    border-bottom: 1px solid #cccccc;
    padding-top: 25px;
    padding-left: 50px;
}

.mod_help dl {
    float: left;
    width: 200px;
}

.mod_help dl dt {
    font-size: 16px;
    color: #333333;
    margin-bottom: 15px;
}

.mod_help dl dd {
    font-size: 12px;
    color: #666666;
}

.mod_help dl:last-child {
    width: 95px;
    text-align: center;
}

.mod_copyright {
    padding-top: 20px;
    text-align: center;
}

.mod_copyright .links {
    margin-bottom: 15px;
}

.links a {
    /* 这里用padding和margin都行 */
    margin: 0 15px;
}

.mod_copyright .copyright {
    line-height: 20px;
}